home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000039_news@columbia.edu_Tue Apr 4 16:55:48 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA00593
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 4 Apr 1995 16:44:47 -0400
  3. Received: by apakabar.cc.columbia.edu id AA10062
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 4 Apr 1995 16:44:44 -0400
  5. Newsgroups: comp.protocols.kermit.misc
  6. Path: news.columbia.edu!panix!news.mathworks.com!news.ultranet.com!news.sprintlink.net!cs.utexas.edu!utnut!nott!cunews!boris!rmallett
  7. From: rmallett@boris.ccs.carleton.ca (Rick Mallett)
  8. Subject: Re: How to disable C-Kermit CLI
  9. X-Nntp-Posting-Host: boris.carleton.ca
  10. Message-Id: <D6IsD0.5M3@cunews.carleton.ca>
  11. Sender: news@cunews.carleton.ca (News Administrator)
  12. Organization: Carleton University
  13. X-Newsreader: TIN [version 1.2 PL0]
  14. References: <D67t0M.A49@cunews.carleton.ca> <3lh21v$mni@apakabar.cc.columbia.edu>
  15. Date: Tue, 4 Apr 1995 16:55:48 GMT
  16. Lines: 44
  17. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  18.  
  19. Frank da Cruz (fdc@watsun.cc.columbia.edu) wrote:
  20. > In article <D67t0M.A49@cunews.carleton.ca>,
  21. > Rick Mallett <rmallett@boris.carleton.ca> wrote:
  22.  
  23. > : I'm using kermit for file upload/download in conjunction with a Unix
  24. > : restricted shell text-based menu interface that should prevent all
  25. > : direct access to Unix shell commands. Files are uploaded/downloaded by
  26. > : way of expect scripts where the invokation is as follows:
  27. > :  ...
  28. > : This seems to work OK except that I found the other day that users can
  29. > : escape to the kermit prompt by typing several CTRL-C's during the upload
  30. > : operation.
  31. > : ...
  32.  
  33. [portion deleted]
  34.  
  35. > : Is there another compilation flag that will give me the result I want.
  36. > : 
  37. > Try -DNOPUSH.  This should prevent any type of shell access from the
  38. > C-Kermit prompt.  Or try -DNOCTRLC.  This should make Ctrl-C (SIGINT)
  39. > exit the program rather than returning to the prompt.
  40.  
  41. I tried using both -DNOCTRLC and -DNOPUSH but that didn't work. I had already
  42. eliminated shell access by other means but I still need to stop users from
  43. getting to a c-kermit prompt and browsing the system at that point. Here is
  44. the make line I issued (after a make clean of course).
  45.  
  46.    make sunos41gcc "KFLAGS=-DNOCTRLC -DNOPUSH"
  47.  
  48. I was still able to type CTRL-C and reach the C-kermit prompt after
  49. issuing a line similar to the following:
  50.  
  51.    kermit -C 'pcget file, quit'
  52.  
  53.  
  54. Any other suggestions would be appreciated.
  55.  
  56.  
  57. ----------------------------------------------------------------------
  58. Rick Mallett
  59. Carleton University
  60.  
  61. Email address: rmallett@ccs.carleton.ca
  62. ----------------------------------------------------------------------